import { Snowflake } from "../utils/Snowflake";

/*

    [
        {
            "version":0,
            "unicode_emoji":null,
            "tags":{},
            "position":0,
            "permissions":"559623501254144",
            "name":"@everyone",
            "mentionable":false,
            "managed":false,
            "id":"136561520980000768",
            "icon":null,
            "hoist":false,
            "flags":0,
            "color":0
        },
        {
            "version":0,
            "unicode_emoji":null,
            "tags":{},
            "position":2,
            "permissions":"6442569216",
            "name":"GG",
            "mentionable":false,
            "managed":false,
            "id":"302181071959752704",
            "icon":null,
            "hoist":false,
            "flags":0,
            "color":3066993
        },
        {
            "version":0,
            "unicode_emoji":null,
            "tags":{},
            "position":3,
            "permissions":"8804616371839",
            "name":"Admin",
            "mentionable":true,
            "managed":false,
            "id":"302183276699713536",
            "icon":null,
            "hoist":true,
            "flags":0,
            "color":15158332
        },
        {
            "version":0,
            "unicode_emoji":null,
            "tags":{},
            "position":1,
            "permissions":"6442454528",
            "name":"WAVersion",
            "mentionable":false,
            "managed":false,
            "id":"490091692595347467",
            "icon":null,
            "hoist":false,
            "flags":0,
            "color":0
        }
    ]

*/


// (3066993).toString(16)


export interface RoleDto {
    version: number,
    // unicode_emoji: null,
    // tags: {},
    position: number,
    permissions: string,
    name: string,
    mentionable: boolean,
    managed: boolean,
    id: Snowflake,
    icon: string | null,
    hoist: boolean,
    flags: number,
    color: number
}